package com.ds.infrastructure.audit.collector.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 作用：
 *
 * @author WeiShaoying
 * @date 2020/7/30
 */
@Component
@Data
@ConfigurationProperties(prefix = "audit.collector.kafka")
public class KafkaProperty {

    /**
     * producer
     */
    private String producerBroker;

    /**
     * consumer
     */
    private String consumerBroker;

    private String groupId;

    private String autoOffsetReset;

    private String enableAutoCommit;

}
